package com.luying.constants;

public enum  RoleTypeEnum {

    ADMIN(1,"admin"),
    TEACHER(2,"teacher"),
    STUDENT(3,"student");

    private Integer type;
    private String name;

    RoleTypeEnum(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}
